#include "stubs_asm.h"

#define NULLSUB 0xFF810B04

NHSTUB(ExpCtrlTool_StartContiAE, 0xFF844034)
NHSTUB(MakeAFScan, 0xFF9406CC)

//** subs in signatures_dryos.h but not auto found 

NHSTUB(EnterToCompensationEVF , 0xFF8369D4)		// SD940 103c matched with SD90 101a
NHSTUB(ExitFromCompensationEVF  , 0xFF836A18)	// SD940 103c matched with SD90 101a

NHSTUB(TurnOffBackLight , 0xFF8976A8)			// SD940 103c matched with SD90 101a
NHSTUB(TurnOnBackLight, 0xFF897690)				// SD940 103c matched with SD90 101a

NHSTUB(Lseek , 0xFF8354D0)						// SD940 103c matched with SD90 101a

NHSTUB(PT_PlaySound , 0xFF879764)				// SD940 103c matched with SD90 101a

NHSTUB(openfastdir , 0xFFA4D18C)				// SD940 103c matched with SD90 101a
NHSTUB(readfastdir , 0xFFA4D2C0)				// SD940 103c matched with SD90 101a

NHSTUB(RefreshPhysicalScreen , 0xFF9D206C)		// SD940 103c matched with SD90 101a & SD980 1.01c
NHSTUB(ScreenLock, 0xFF9D1E44)					// SD940 103c close to SD90 101a (extra code in SD940 sub)
NHSTUB(ScreenUnlock,0xFF9D1E84) 				// SD940 103c matched with SD90 101a

NHSTUB(Remove , 0xFF8353E8)						// SD940 103c matched with SD90 101a
NHSTUB(rename , 0xFF835490)						// SD940 103c matched with SD90 101a
NHSTUB(UIFS_WriteFirmInfoToFile , 0xFF956904)	// SD940 103c matched with SD90 101a

//** subs not in signatures_dryos.h

NHSTUB(SetScriptMode, 0xFF810F4C)				// SD940 103c matched with SD90 101a
NHSTUB(LEDDrive, 0xFF8582F4)					// SD940 103c matched with SD90 101a
NHSTUB(apex2us, 0xFF9D555C)						// SD940 103c matched with SD90 101a
NHSTUB(WriteSDCard, 0xFF926538)					// SD940 103c matched with SD90 101a
NHSTUB(UnlockAF, 0xFF8368B4)					// SD940 103c matched with SD90 101a
NHSTUB(DoAFLock, 0xFF83687C)					// FFA4D148
NHSTUB(UnsetZoomForMovie, 0xFF9714AC)			// SD940 103c matched with SD90 101a

NHSTUB(PutInNdFilter, 0xFFA67DD0)				// SD940 103c matched with SD940 102c NHSTUB(PutInNdFilter, 0xFFA67C08)
NHSTUB(PutOutNdFilter, 0xFFA67DF4)				// SD940 103c matched with SD940 102c NHSTUB(PutOutNdFilter, 0xFFA67C2C)

NHSTUB(platformsub_kbd_fetch_data, 0xFF858DF8)	//????????????

//** wrong subs

NHSTUB(closefastdir, 0xFFA4D148)				// *SD940 103c matched with SD90 101a was 0xffa4d45c = best match: 71%
NHSTUB(RenameFile_Fut, 0xFF834CAC)				// *SD940 103c matched with SD90 101a was 0xff834e78 Best match: 53% ALT: NHSTUB(RenameFile_Fut, 0xffa39608) NHSTUB(RenameFile_Fut, 0xffa39658)

//** obsolete / unknown / not found subs

NHSTUB(kbd_pwr_on , NULLSUB)					//** not found in SD90 or SD940-102c
NHSTUB(kbd_pwr_off, NULLSUB)					//** 0xff858e10 = best match: 51% in finsig
NHSTUB(rewinddir, NULLSUB)						//** not found in SD90 or SD940-102c
NHSTUB(SetZoomActuatorSpeedPercent, NULLSUB)	//** not found in SD90 or SD940-102c
NHSTUB(Unmount_FileSystem, NULLSUB)				//** not found in SD90 or SD940-102c
NHSTUB(Mount_FileSystem, NULLSUB)				//** not found in SD90 or SD940-102c
